<template>
	<view>
		<template v-if="dataList.length">
			<view class="flex justify-between align-center padding bg-white solid-top" v-for="(item,index) in dataList"
				:key="index">
				<view class="">
					<view class="text-30">{{item.title}}</view>
					<view class="text-999 text-sm padding-top-sm">支付时间：{{$u.timeFormat(item.paytime, 'yyyy年mm月dd日')}}</view>
				</view>
				<view class="text-red">{{item.total_amount}}元</view>
			</view>
		</template>
		<template v-else>
			<view style="padding-top: 150rpx;">
				<u-empty text="暂无数据" mode="list" />
			</view>
		</template>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				dataList: []
			};
		},
		onLoad() {
			this.initData();
		},
		methods: {
			initData() {
				this.$u.api._myqaks().then(res => {
					this.dataList = res.data.data;
				})
			}
		},
	}
</script>

<style lang="scss" scoped>
</style>